class WebSite(object):
    webName = "站名"
    webType = "新闻"

    def __init__(self, u):
        self.my_url = u

    def search(self):
        print("搜索一条新闻")

    @classmethod
    def start(cls):
        print("网站开启了")


my_web = WebSite("www.one.com")
my_web.search()
WebSite.start()
my_web.start()

